package leecode

func smallestEqual(nums []int) int {
	var result int
	for i := 0; i < len(nums); i++ {
		if i%10 == nums[i] {
			result = i
			break
		}
	}
	return result
}
